<?php 
    class FrontMenuWidget extends CWidget
    {
        public function run()
        {
            $this->getmenu();
        }
        public function getmenu()
        {
            $this->render('frontmenu');
        }
    }
?>